#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT
    
public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();
    
    void on_MainWindow_rePaint();

 protected:
    virtual void resizeEvent ( QResizeEvent * event );


public slots:
    void sizeChanged(const QSize &msize);

private slots:
    void on_MainWindow_iconSizeChanged(const QSize &iconSize);
    void on_pbtn1_clicked();

    void on_pbtn1_pressed();
    void test_press();
    void rePaint();


private:
    Ui::MainWindow *ui;
};

#endif // MAINWINDOW_H
